package com.shadow.demo.common.enums.shiro;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum PCodeEnum {

    USER_DEL_SELECT("删除用户的查询权限", "user:del:select"),
    ROLE_DEL_SELECT("删除角色的查询权限", "role:del:select"),
    PERM_DEL_SELECT("删除权限的查询权限", "permission:del:select"),

    INFO_SITE_LIST("站点列表查询权限", "info:site:list"),
    INFO_SITE_DEL("删除站点的查询权限", "site:del:select"),

    IP_HOME("删除站点的查询权限", "ip:home")
    ;

    private final String name;
    private final String code;
}
